<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../static/css/table-list.css" rel="stylesheet" type="text/css">
<link href="../static/css/kucun.css" rel="stylesheet" type="text/css">	
<link href="../static/css/button.css" rel="stylesheet" type="text/css">	
<link href="../static/css/input.css" rel="stylesheet" type="text/css">					
</head><body><div class="">
	  <div class="row-fluid clearfix">
        <div class="span12">
            <form class="form-inline clearfix" role="form">
                <fieldset>
                    <legend class="clearfix main-box">
                    	<div class="crumbs-title">
		                    <span><b></b>药品分批库存</span>
		                </div>
                        <div class="float-two">
	                        <ul>
	                        	<li>
	                        		<span class="label">药品名：</span>
	                        		<div class="form-group pull-left le-inline input-box" style="border:none;">
		                                <input type="text" class="input-sm in-xm" placeholder="请输入药品名称" id="ypjl-mingcheng">
		                        	</div>
	                        	</li>
	                        	<li>
	                        		<div class="form-group pull-left le-inline fenlei-two">
		                            	<span class="label">分类：</span>
		                                <div class="btn-group menu-up dropdown-search-li">
		                                		<input type="hidden" id="yp-leibie" value="0">
										    	<div class="btn dropdown-toggle btn-sm u-button-select select-menu" data-toggle="dropdown" tabindex="0" id="f-le-fenlei">全部</div>
											   	<ul class="dropdown-menu li-width" id="leixing" role="menu">
											   	  <li value="0">全部</li>
											      <li value="1">饮片</li>
											      <li value="2">中成药</li>
											      <li value="3">化学制药</li>
											      <li value="4">生物制药</li>
											      <li value="5">其他</li>
											   	</ul>
										 	</div>
										</div>
	                        	</li>
	                        	<li>
	                        		<div class="form-group pull-right le-btn-inline button-box" style="width:205px;">
			                            <span class="btn search button" id="yppc-chaxun">查询</span>
			                            <div class="btn b-rest button button1" id="yppc-reset">重置</div>
			                        </div>
	                        	</li>
	                        </ul>
	                    </div>
                    </legend>
                </fieldset>
            </form>
        </div>
    </div>
    <div id="yp-img"></div>
     <div class="row-fluid tb-background c-height table-list" id="a-table-list">
        <div class="span12 table-title" style="border-right: solid 1px #eee;">
            <div class="tab-header table-pici">
            	<table class="table table-center tab-title">
            		<thead>
	                  <tr>
	                      <th width="5%">序号</th>
	                      <th width="13%">批次号</th>
	                      <th class="left" width="13%">药品名</th>
	                      <th width="10%">分类</th>
	                      <th width="11%">规格</th>        
	                      <th class="left" width="12%">供应商</th>        
	                      <th width="10%">进货价(元)</th>
	                      <th width="10%">处方价(元)</th>        
	                      <th width="8%">库存</th>        
	                      <th width="8%">操作</th>                
	                  </tr>
                  	</thead>
                  	<tbody id="kucunyppc"></tbody>
            </table>
            <div id="pagination-fenyyp"></div>
            </div>
        </div>
    </div>
</div> 
<script src="../static/js/yaopin-pici.js"></script>
<script type="text/javascript">
// 定位参数
var dwpageNo = 'null';
var dwmingcheng = 'null';
var yaopinfpid = 'null';
var dwleibie = 'null';
//提示信息接收转码变量
var sjc = 'null';
var premsg = 'null';
var msg=decodeURI(decodeURI(premsg));
//收费成功信息
if (msg != null && msg != 'null') {
	notifySuccess(msg,sjc);
}
dwmingcheng = decodeURI(decodeURI(dwmingcheng));
getYaopinfpcs(yaopinfpid,dwpageNo,dwmingcheng,dwleibie);
</script>
	</body></html>